package com.cw.serviceimpl;

import com.cw.mapper.TbOperatorMapper;
import com.cw.pojo.TbOperator;
import com.cw.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@com.alibaba.dubbo.config.annotation.Service
public class LoginServiceImpl implements LoginService {

    @Autowired
    private TbOperatorMapper tbOperatorMapper;

    @Override
    public TbOperator selectByOname(String username) {
        return tbOperatorMapper.selectByOname(username);
    }
}
